package mysale.service;

import mysale.pojo.Cart;

import java.util.List;

/**
 * @author SnakeWoodMan
 * @create 2020-12-29 17:42
 */
public interface CartService {
    public List<Cart> getallinfo(String uid);

    public List<Cart> getbuyinfo(String uid);

    public List<Cart> getnotbuyinfo(String uid);

    public List<Cart> getcartbyuiffid(Cart cart);

    public boolean addGoodsToCart(Cart cart);

    public boolean deleteGoodsFromCart(Cart cart);

    public boolean buyGoodsFromCart(Cart cart);

    public boolean subGoodsStock(Cart cart);

    public boolean updateGoodsNum(Cart cart);
}
